public class Test2 {
    public static void main(String[] args) {
        Phone p = new Phone();
        p.setBrand("小米");
        p.setPrice(998);
        p.call();
        p.sendMessage();
        p.playGame();
        System.out.println("----------");
        Phone p2 = new Phone("小米",998);
        p2.call();
        p2.sendMessage();
        p2.playGame();
    }

}
